// #ifndef H5
import '@minisheep/mini-program-polyfill-core/wechat-polyfill';
// import '@minisheep/mini-program-polyfill-core/xml-addon'; // 如果项目中使用了需要 DOMParser 支持的部分，也可以后续按需导入，避免影响主包大小
// #endif
import { createSSRApp } from "vue";
import App from "./App.vue";
import i18n from "./lang/i18n";
// #ifdef MP-WEIXIN
import '@minisheep/three-platform-adapter/wechat';
// #endif

export function createApp() {
  const app = createSSRApp(App);
  app.use(i18n);
  return {
    app,
  };
}
